
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.FodderTake;
import cn.edu.scau.cmi.hombio.domain.FodderType;
import cn.edu.scau.cmi.hombio.domain.Task;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for FodderTake entities
 * 
 */
public interface FodderTakeService {

	/**
	* Delete an existing FodderType entity
	* 
	 */
	public FodderTake deleteFodderTakeFodderType(Integer foddertake_id, Integer related_foddertype_id);

	/**
	* Load an existing FodderTake entity
	* 
	 */
	public Set<FodderTake> loadFodderTakes();

	/**
	* Delete an existing Task entity
	* 
	 */
	public FodderTake deleteFodderTakeTask(Integer foddertake_id_1, Integer related_task_id);

	/**
	 */
	public FodderTake findFodderTakeByPrimaryKey(Integer id);

	/**
	* Save an existing FodderType entity
	* 
	 */
	public FodderTake saveFodderTakeFodderType(Integer id_1, FodderType related_foddertype);

	/**
	* Save an existing Employee entity
	* 
	 */
	public FodderTake saveFodderTakeEmployeeByWarehousekepperId(Integer id_2, Employee related_employeebywarehousekepperid);

	/**
	* Save an existing FodderTake entity
	* 
	 */
	public void saveFodderTake(FodderTake foddertake);

	/**
	* Return a count of all FodderTake entity
	* 
	 */
	public Integer countFodderTakes();

	/**
	* Delete an existing Employee entity
	* 
	 */
	public FodderTake deleteFodderTakeEmployeeByWarehousekepperId(Integer foddertake_id_2, Integer related_employeebywarehousekepperid_id);

	/**
	* Delete an existing Employee entity
	* 
	 */
	public FodderTake deleteFodderTakeEmployeeByEmployeeId(Integer foddertake_id_3, Integer related_employeebyemployeeid_id);

	/**
	* Delete an existing FodderTake entity
	* 
	 */
	public void deleteFodderTake(FodderTake foddertake_1);

	/**
	* Return all FodderTake entity
	* 
	 */
	public List<FodderTake> findAllFodderTakes(Integer startResult, Integer maxRows);

	/**
	* Save an existing Task entity
	* 
	 */
	public FodderTake saveFodderTakeTask(Integer id_3, Task related_task);

	/**
	* Save an existing Employee entity
	* 
	 */
	public FodderTake saveFodderTakeEmployeeByEmployeeId(Integer id_4, Employee related_employeebyemployeeid);
}